home *** CD-ROM | disk | FTP | other *** search
- COVER is a utility to print a sorted directory listing in such a
- format as to allow the listing to be cut and inserted into the sleeve
- with the diskette. It was written by Dan Daetwyler of Arkansas and
- first published (and placed in the public domain) in the January 1984
- issue of "Dr. Dobb's Journal". Anyone interested in the details is
- referred to that issue.
-
- To run, insert diskette with the program in the default drive and
- type COVER. The program will prompt you for the ID of the drive that
- contains the diskette to be listed. Type the appropriate letter
- (either case) ONLY -- no colon or RETURN. The program will then ask
- for a title to appear on the listing. The title may be up to
- forty-four characters; if you do not want a title, simple press ENTER.
- This process continues until ESC is entered at the drive ID prompt. The
- program prints two envelope covers per page; if exited via ESC, it will
- advance the paper to Top-of-Form and restore the printer to its power
- up defaults.
-
- The program issues Epson printer control codes for selecting
- compressed print, 1/8 inch line spacing, and 44 lines to the logical
- 'page'. Those with IBM/Epson printers should be able to use COVER as
- is. Those with a printer that uses different control codes with have
- to 'patch' the program (using DEBUG or some other such program). The
- sequence to initialize the printer begins at location 13C; the Epson
- sequence is six bytes long (1B 30 1B 43 2C 0F) but it is padded with
- zeros so that there is room for eleven codes altogether. The string
- MUST terminate with a zero for the DOS call to work correctly. The
- printer restore sequence is two bytes long (1B 40) and begins at
- location 148; again, it is padded with five extra zeros for patching
- room. If this is insufficient for setting up your printer, you might
- try zeroing these sequences out and setting up your printer outside the
- COVER program.
-
- NOTE: Cover issues ONLY the DOS call interupt. This should insure
- that it can run on any MS-DOS machine not just the IBM compatibles.
- It has been successfully run on a TI Professional Computer with no
- modification whatsoever.
-